package com.codedancer.campus.manager.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.codedancer.campus.manager.service.bo.plate.PlateAddOrUpdateBo;
import com.codedancer.campus.manager.service.bo.plate.PlatePageSearchBo;
import com.codedancer.campus.manager.service.vo.plate.PlatePageVo;
import com.codedancer.campus.manager.service.vo.plate.PlateVo;
import java.util.List;

public interface IPlateService {

    /**
     * 分页查询板块
     * @param platePageSearchBo
     * @return
     */
    IPage<PlatePageVo> page(PlatePageSearchBo platePageSearchBo);

    /**
     * 删除板块
     * @param uuid
     */
    void delete(String uuid);

    /**
     * 添加板块
     * @param plateAddOrUpdateBo
     */
    void add(PlateAddOrUpdateBo plateAddOrUpdateBo);

    /**
     * 修改板块
     * @param plateAddOrUpdateBo
     */
    void update(PlateAddOrUpdateBo plateAddOrUpdateBo);

    /**
     * 获取全部板块
     * @return
     */
    List<PlateVo> all();
}
